home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(!_root.car.onfloor)
- {
- if(Key.isDown(37))
- {
- _visible = true;
- if(!sound)
- {
- if(_root.sound)
- {
- _root.steamSide.start(0,99999);
- sound = true;
- }
- }
- }
- }
- if(_root.gravityType == "normal")
- {
- if(!Key.isDown(37) or _root.car.onfloor or _root.fake._rotation < -20 or _root.fake._rotation > 20)
- {
- _visible = false;
- if(!_root.f1.sound)
- {
- _root.steamSide.stop();
- sound = false;
- }
- }
- }
- if(_root.gravityType == "reverse")
- {
- if(!Key.isDown(37))
- {
- _visible = false;
- sound = false;
- if(!_root.f1.sound)
- {
- _root.steamSide.stop();
- sound = false;
- }
- }
- }
- _X = _root.fake._x + 30;
- if(_root.gravityType == "normal")
- {
- _Y = _root.fake._y - 14;
- }
- if(_root.gravityType == "reverse")
- {
- _Y = _root.fake._y + 10;
- }
- }
-